package com.wanxi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanxi.model.LawyerModel;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author Li
 * @Date 2023/7/7 19:55
 */
public interface LawyerService extends IService<LawyerModel> {
    /**
     * 添加数据到es
     *
     * @return
     */
    void addDocument(LawyerModel lawyerModel) throws IOException;

    void deleteDocument(LawyerModel lawyerModel) throws IOException;
void updateDocument(LawyerModel lawyerModel) throws IOException;
    List<Map<String, Object>> searchLawyer(LawyerModel lawyerModel) throws IOException;
}
